import React from 'react';
import { Checkbox  } from 'antd';
const CheckboxGroup = Checkbox.Group;

class MoreSelect extends React.Component {
	onChange = (checkedValues) => {
		console.log('checked = ', checkedValues);
	}
	render() {
		const plainOptions = [
		  { label: 'Apple', value: 'Apple' , disabled: false },
		  { label: 'Pear', value: 'Pear' , disabled: false },
		  { label: 'Orange', value: 'Orange', disabled: true },
		];
		return(
			<CheckboxGroup options={plainOptions} disabled defaultValue={['Apple']} onChange={this.onChange} />
		);
	}
}

export default MoreSelect;